package vo;

import po.TeacherPO;

public class TeacherVO {
	String ID = "";
	String name = "";
	String department = "";

	public TeacherVO(String ID, String name, String department) {
		this.ID = ID;
		this.name = name;
		this.department = department;
	}

	public String[] getData() {
		String Data[] = { ID, name, department };
		return Data;
	}

	public String getDep() {
		return this.department;
	}

	public String getID() {
		return this.ID;
	}

	public String getName() {
		return this.name;
	}

	public TeacherPO toPO() {
		return new TeacherPO(ID, name, department);
	}
}
